package cn.edu.cug.cs.gtl.apis.ui;

import javax.swing.*;

public abstract class UIApp {
    public enum Type{
        MODEL3D_UI_APP,
        SERIES_UI_APP,
        MAP2D_UI_APP,
        TABLE_UI_APP,
        IMAGE_UI_APP,
        TEXT_UI_APP
    };
   protected AbstractApplication theApp = null;

    public abstract JComponent initializeUI();
    public abstract boolean isValid();
    protected UIApp(AbstractApplication theApp){
        this.theApp=theApp;
    }

    public abstract Type getType();
}
